import {createRouter,createWebHashHistory} from 'vue-router';

let routerPath = [{
		path: '/index',
		component: () => import('../module/index.vue')
	},{
		name:"main",
		path: '/main',
		component: () => import('../module/main.vue')
	},{
		name:"login",
		path: '/login',
		component: () => import('../module/login.vue')
	},{
		name:"desktopMain",
		path: '/desktopMain',
		component: () => import('../module/desktop/main.vue')
	}
];
const router = createRouter({
  history: createWebHashHistory(),
  routes: routerPath
})
router.beforeEach((to, from, next) =>   {
		next()
});
export default router;
